<template>
  <div>
    <el-dialog :title="title" :visible.sync="dialogVisible" width="600px">
         <el-form :inline="true" >
        <el-form-item label="商 品 名 称">
          <el-input :disabled="true" v-model="data.goodsName" />
        </el-form-item>

        <el-form-item label="业务员提成价格">
          <el-input v-model="data.royalty" />
        </el-form-item> 
         </el-form>

       <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="submit()">保 存</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
import apigoodsManage from "@/api/goodsManage/goodslibrary";
export default {
  name: "dialogModifyPrice",
  data() {
    return {
      title:'',
      dialogVisible: false,
      data:{
          id:"",
          goodsName:"",
          royalty:""
      }
    };
  },

  methods: {
   open(row){
       this.data = row
       this.title = "修改--" + row.goodsName + "提成价格"
       this.dialogVisible = true
   }
  }
};
</script>

<style scoped>
</style>